<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
	<%@taglib uri="/struts-tags" prefix="s" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
	<head>
		<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
	</head>
	<body>
		<table width="100%" border="0" cellpadding="0" cellspacing="0">
			<tr>
				<td height="24">
					原价：
					<span style="color: red">67.5</span> 元 旺旺在线
				</td>
			</tr>
			<tr>
				<td height="24">
					&nbsp;
				</td>
			</tr>
		</table>
		<table summary="List of new students 2003" class="datatable">
			<caption>
				本商品累计销售
				<span style="color: red">88</span> 件，最近一月成交
				<span style="color: red">22</span> 件
			</caption>
			<tr>
				<th scope="col">
					买家
				</th>
				<th scope="col">
					宝贝名称
				</th>
				<th scope="col">
					拍下价格
				</th>
				<th scope="col">
					购买数量
				</th>
				<th scope="col">
					成交时间
				</th>
				<th scope="col">
					状态
				</th>
			</tr>
			<s:iterator value="soldBooks" var="book_sold">
				<tr>
					<td>
						<a href="#">${book_sold.orderItem.users.userName }</a>
					</td>
					<td>
						<a href="#" class="huilink1">${book_sold.book.bookName}</a>
					</td>
					<td>${book_sold.price}</td>
					<td>
						${book_sold.total}
					</td>
					<td>
						<s:date name="#book_sold.orderItem.orderTime" format="yyyy-MM-dd hh:mm:ss"/>
					</td>
					<td>
						<s:if test="#book_sold.orderItem.state==0">
							成功
						</s:if>
						<s:else>
							失败
						</s:else>
					</td>
				</tr>
			</s:iterator>
			<tr align="center">
					<td colspan="6">
						 <jsp:include page="../basic/pageView-sold.jsp"></jsp:include>
					</td>
			</tr>
		</table>
	</body>
</html>